.homepage {
  color: #333;
  background: #f6f4f4;
  height: 100%;
  display: flex;
  flex-direction: column;
  .center {
    padding: 10px 15px;
    background-color: #fff;
    margin-top: 15px;
    .search-bar {
      border-bottom: none;
      padding: 0px;
    }
    .tabs {
      display: flex;
      .tab {
        font-size: 14px;
        margin-right: 18px;
        padding: 8px 0px;
      }
      .active {
        font-weight: 800;
        position: relative;
      }
      .active::after {
        content: "";
        display: block;
        width: 30px;
        height: 4px;
        border-radius: 2px;
        background-color: #f2d703;
        position: absolute;
        left: 50%;
        bottom: -5px;
        transform: translate(-50%, 0);
      }
    }
  }
  .pickers {
    display: flex;
    margin: 10px 16px;
    .picker {
      background-color: #fff;
      color: #999;
      padding: 8px;
      font-size: 12px;
      margin-right: 12px;
      border-radius: 8px;
      display: flex;
      align-items: center;
    }
    .picker::after {
      content: "";
      display: inline-block;
      width: 0px;
      height: 0px;
      border: 5px solid transparent;
      border-top-color: #999;
      margin-left: 3px;
      transform: translate(0, 25%);
    }
  }
  .cards {
    margin: 0 16px;
    .card {
      padding: 12px;
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 10px;
      .main {
        display: flex;
        height: 66px;
        align-items: center;
        .text {
          flex: 1;
          flex-grow: 1;
          display: flex;
          flex-direction: column;
          .title {
            font-size: 15px;
            font-weight: 800;
            height: 42px;
            color: #1c2533;
            line-height: 21px;
          }
          .content {
            width: 220px;
            font-size: 12px;
            line-height: 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #999;
          }
        }
        .img {
          margin-left: 12px;
          width: 66px;
        }
        .img > img {
          width: 66px;
          height: 66px;
          border-radius: 6px;
        }
      }
      .footer {
        display: flex;
        height: 21px;
        line-height: 21px;
        justify-content: space-between;
        margin-top: 10px;
        .btn {
          color: #f2d703;
          font-size: 14px;
        }
        .date {
          color: #999;
        }
      }
    }
  }
}
